package com.hw.paltfrom.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.hw.paltfrom.pojo.HwBaseUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;


@Component
public interface HwBaseUserMapper extends BaseMapper<HwBaseUser> {

    @Select("SELECT  F_RealName AS fRealname ,F_Telephone AS fTelephone FROM HW_Base_User where F_TypeCode=#{fOverrunCode}")
    List<Map<String, Object>> chooseOnDuty(@Param("fOverrunCode") String fOverrunCode);
}